home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 013a / fontsdj.zip / DISPFONT.DOC < prev    next >
Text File  |  1990-01-31  |  16KB  |  396 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                  D I S P F O N T
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                           Print Soft Font Sample Sheets
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                                    Version 1.3
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                                 Elfring Soft Fonts
  35.                                    P.O. Box 61
  36.                                  Wasco, IL 60183
  37.                                    708-377-3520
  38.  
  39.                                  CIS: 72417,3437
  40.  
  41.  
  42.  
  43.                    Copyright 1987 - 1990 Elfring Soft Fonts
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                                 TABLE OF CONTENTS
  56.  
  57.  
  58.  
  59.         INTRODUCTION.................................................  1
  60.  
  61.  
  62.  
  63.  
  64.  
  65.         OPERATION....................................................  1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.         EXAMPLES.....................................................  3
  72.  
  73.  
  74.  
  75.  
  76.  
  77.         VARYING THE SAMPLE TEXT......................................  4
  78.  
  79.  
  80.  
  81.  
  82.  
  83.         GENERAL INFORMATION..........................................  4
  84.  
  85.  
  86.  
  87.  
  88.  
  89.         LICENSE......................................................  5
  90.  
  91.  
  92.  
  93.  
  94.  
  95.         WARRANTY.....................................................  5
  96.  
  97.                               Display a Soft Font
  98.  
  99.  
  100.                                   INTRODUCTION
  101.         
  102.         Do you have problems deciding which soft font to use?  It's hard 
  103.         to choose a font without seeing an example of it.  What you need 
  104.         is a display sheet, showing what each of your soft fonts looks 
  105.         like.  This should show the font name and typeface, a sample 
  106.         alphabet, some representative text, and perhaps a symbol map.  Of 
  107.         course you might be able to do this with your word processor and 
  108.         a great deal of work.  OR you can use DISPFONT and turn these 
  109.         sheets out in no time.
  110.  
  111.         DISPFONT is a utility for the IBM PC or compatible computers and 
  112.         the HP LaserJet or compatible printers.  DISPFONT prints a sample 
  113.         sheet of any soft font.  The sample sheet contains four basic 
  114.         sections: header, alphabet, text, and symbol map.  The "header" 
  115.         displays the soft font file name, the name of the type face, and 
  116.         its style, point size, and orientation.  The alphabet section 
  117.         displays all the characters in the standard ASCII set.  The text 
  118.         section lets you see what the font looks like when printing sev-
  119.         eral lines with that font.  Finally, the symbol map shows each 
  120.         character in the font along with the letter of the alphabet or the 
  121.         decimal code required to select that character.
  122.  
  123.         DISPFONT requires an IBM or compatible computer, a minimum of 128K
  124.         of memory, and a parallel or serial port.  A LaserJet +, II, IID, or
  125.         IIP, compatible printer, or DeskJet that supports downloadable soft 
  126.         fonts is required. This package is ASP shareware. See REGISTER.DOC.
  127.  
  128.  
  129.                                     OPERATION
  130.         
  131.         Your printer should be running and on-line before starting 
  132.         DISPFONT.  To run DISPFONT, simply type in the program name, the 
  133.         name of the soft font to display, and one of several options.  
  134.         DISPFONT assumes you want to use printer port LPT1, unless you 
  135.         tell it otherwise.  The basic command structure of DISPFONT is:
  136.  
  137.         dispfont fontname [printer -s -a -#]
  138.         
  139.         The "fontname" is the name of the soft font file to print a sam-
  140.         ple of.  Everything between the "[" and "]" characters is option-
  141.         al.  Typical soft font file names follow the form:
  142.  
  143.         FFPPPSPN.USO
  144.         ├┘└┬┘│     └─ font orientation (P/L)
  145.         │  │ └─ font style (R/B/L/I)
  146.         │  └─ point size (tenths of a point)
  147.         └─ type face
  148.  
  149.         Example font names include:
  150.  
  151.         tr100rpn.usp  (Times-Roman, 10 point, regular, portrait)
  152.         tr240bpn.usl  (Times-Roman, 24 point, bold, landscape)
  153.         he060ipn.usp  (Helvetica, 6 point, italic, portrait)
  154.  
  155.                                    1
  156.  
  157.                               Display a Soft Font
  158.  
  159.  
  160.         The optional "printer" argument lets you select a printer port to 
  161.         send the sample sheet to.  DISPFONT recognizes the standard three 
  162.         parallel printer ports: LPT1, LPT2, & LPT3. If no printer port is 
  163.         included on the command line DISPFONT defaults to LPT1. The serial 
  164.         printer ports, (COM1 or COM2), are NO LONGER supported!
  165.  
  166.         The optional "-s" argument is used to suppress the printing of a 
  167.         symbol table.  If the "-s" option is NOT used you can use the "-a" 
  168.         option to select an alphabetic symbol map, instead of a decimal one.
  169.         The line spacing the program uses can now also be controlled using 
  170.         the "-#" option. Replace the "#" with any digits that specify how 
  171.         many 48ths of an inch you want to move on each carriage return. Thus 
  172.         "-24" sets the line spacing to 2 lines per inch, "-8" gives 6 lines
  173.         per inch. When no symbol table is printed you have more room for your 
  174.         customized text.  (See the section on Varying The Sample Text for an 
  175.         explanation of this feature.)
  176.  
  177.         A typical sample font sheet would look as follows:
  178.  
  179.         ┌──────────────────────────────────────────────────────────────┐
  180.         │                                                              │
  181.         │   File: ro300rpn.usp, Roman-Times: 30 pt, portrait           │
  182.         │                                                              │
  183.         │   abcdefghijklmnopqrstuvwxyz |[]{};:`"                       │
  184.         │   ABCDEFGHIJKLMNOPQRSTUVWXYZ                                 │
  185.         │   0123456789 `~!@#$%^&*()-_=+\,.<>?/                         │
  186.         │                                                              │
  187.         │   This is sample text that you can change.                   │
  188.         │   Edit this file with any ASCII text editor,                 │
  189.         │   and your text will be printed.                             │
  190.         │                                                              │
  191.         │   33=!  34="  35=#  36=$ 37=% 38=& 39=' 40=( 41=)            │
  192.         │   42=*  43=+  44=,  45=- 46=. 46=/ 48=0 49=1 50=2            │
  193.         │   51=3  52=4  53=5  54=6 55=7 56=8 57=9 58=: 59=;            │
  194.         │   60=<  61==  62=>  63=? 64=@ 65=A 66=B 67=C 68=D            │
  195.         │                         .                                    │
  196.         │                         .                                    │
  197.         │   123={ 124=| 125=} 126=~                                    │
  198.         │                                                              │
  199.         └──────────────────────────────────────────────────────────────┘
  200.  
  201.         DISPFONT automatically adapts itself to the font you are 
  202.         printing.  It will adjust printer orientation and line spacing 
  203.         based on the characteristics of that font.  While DISPFONT can 
  204.         handle fonts of any size up to 72 points, it should be noted that 
  205.         the symbol map will be hard to read when the font point size is 
  206.         greater than 40 - 50 points.
  207.  
  208.         If you forget how to use DISPFONT you can always get help by 
  209.         typing the program name with no arguments.  For example, typing 
  210.         "dispfont" followed by a carriage return would display the fol-
  211.         lowing:
  212.  
  213.  
  214.  
  215.                                    2
  216.  
  217.                               Display a Soft Font
  218.  
  219.  
  220.         ┌──────────────────────────────────────────────────────────────┐
  221.         │Print sample sheet of a soft font, Version 1.3,               │
  222.         │Copyright 1987 by Gary Elfring                                │
  223.         │                                                              │
  224.         │Use --> dispfont softfont [printer -s -a -#]                  │
  225.         │                                                              │
  226.         │where,   softfont is the file name of the soft font you want  │
  227.         │         to print a sample sheet of                           │
  228.         │         [printer] refers to an optional printer port         │
  229.         │                   (LPT1 default)                             │
  230.         │         [-a] is the optional use alphabet in map             │
  231.         │         [-s] is the optional stop symbol map flag            │
  232.         │         [-#] is the optional set line spacing in 48ths       │
  233.         │                                                              │
  234.         │dispfont tr240rpn.usp         --> prints sample of 24 point   │
  235.         │                                  Times-Roman (LPT1)          │
  236.         │dispfont sc100lpn.usp -15     --> prints a sample of 10 point │
  237.         │                                  Script at 15/48 line spac.  │
  238.         │dispfont ce200bpn.usp -s      --> prints sample of 20 point   │
  239.         │                                  Century bold (LPT1) with no │
  240.         │                                  symbol map                  │
  241.         │dispfont he100ipn.usl lpt2 -s --> prints sample of 10 point   │
  242.         │                                  Helvetica via LPT2 with no  │
  243.         │                                  symbol map                  │
  244.         │                                                              │
  245.         └──────────────────────────────────────────────────────────────┘
  246.  
  247.  
  248.                                     EXAMPLES
  249.         
  250.         Some examples on how to use DISPFONT would probably be of help 
  251.         now.  To print a sample sheet of an Olde English, 20 point font 
  252.         via LPT1 you would type:
  253.  
  254.         dispfont od200rpn.usp
  255.  
  256.         To send the same font out through LPT2, instead of the default 
  257.         LPT1, enter:
  258.  
  259.         dispfont od200rpn.usp lpt2
  260.  
  261.         To print a sample sheet of a Helvetica, 36 point bold landscape 
  262.         font without the symbol map (assuming you have a LaserJet II) 
  263.         type:
  264.  
  265.         dispfont hv360bpn.usl -s
  266.  
  267.         To print a sample of a Times-Roman 18 point font, showing the
  268.         alphabet in the symbol map instead of the default Alt key codes:
  269.  
  270.         dispfont tr180rpn.usp -a
  271.  
  272.         Note that you CAN NOT combine the -a and the -s options since that
  273.         would have no meaning! To set the line spacing you use the "-#" 
  274.  
  275.                                    3
  276.  
  277.                               Display a Soft Font
  278.  
  279.         option. The number passed, (which must be less than 49), is the number
  280.         of 48ths of an inch to move on each carriage return. Thus 24 gives 
  281.         24/48 ths, or 1/2 inch (2 lines per inch).  For example, to set 8 
  282.         lines per inch type:
  283.  
  284.         dispfont uv100bpn.usp -6
  285.  
  286.  
  287.                              VARYING THE SAMPLE TEXT
  288.         
  289.         DISPFONT lets you vary the sample alphabet and text that is 
  290.         printed on each page.  This gives you the ability to customize 
  291.         these sample sheets in almost any manner.
  292.  
  293.         How do you change this text?  When the DISPFONT program runs, it 
  294.         assumes the text to be displayed on a sample sheet will be coming 
  295.         from a disk file named DISPFONT.DAT.  If this file is not found, 
  296.         DISPFONT prints a default display.  If DISPFONT.DAT exists all 
  297.         text from it is sent to the printer in place of the default dis-
  298.         play.  Note that the program automatically selects the soft font 
  299.         before sending your text.
  300.  
  301.         DISPFONT comes with a sample DISPFONT.DAT file for you to examine 
  302.         and modify.  This is a standard ASCII text file and can be modi-
  303.         fied with most word processors or text editors.  Note that the 
  304.         file must be saved as an ASCII file after being modified.
  305.  
  306.         To modify the file, first plan what you would like your sample 
  307.         sheets to say.  A listing of the full font alphabet followed by 
  308.         some sample text is usually best.  Use your word processor to 
  309.         modify the text and save the result in ASCII format.  To check 
  310.         the format you can use the DOS TYPE command.  Just enter:
  311.  
  312.         type dispfont.dat
  313.  
  314.         You should see a complete listing of the text you just entered 
  315.         with no special or "funny" characters on your PC screen.  If this 
  316.         is not the case the file has probably not been saved in ASCII.  
  317.         (As a last resort you can use the EDLIN program supplied with DOS 
  318.         to edit the file.  This guarantees you will have an ASCII file.)
  319.  
  320.         DISPFONT expects to find the sample text file, DISPFONT.DAT, in 
  321.         the current directory.  If you keep the DISPFONT utility in a 
  322.         tools subdirectory, accessed by the environment path, you will 
  323.         need to keep a copy of the ".DAT" file in your current working 
  324.         subdirectory.
  325.  
  326.  
  327.                                GENERAL INFORMATION
  328.         
  329.         DISPFONT operates by first examining the soft font to be printed.  
  330.         It uses information from the soft font header to determine print-
  331.         er orientation and line spacing.  DISPFONT next downloads the 
  332.         soft font in question to your laser printer as a temporary font, 
  333.         ID #757.  It then prints a sample sheet switching between your 
  334.         printer's internal Courier font and the soft font.
  335.                                    4
  336.  
  337.                               Display a Soft Font
  338.  
  339.         In the process, DISPFONT resets your printer.  This deletes all 
  340.         temporary soft fonts there and deselects any other special fea-
  341.         tures you have enabled.  In addition, DISPFONT downloads the soft 
  342.         font, (in the temporary mode), as ID 757.  It is possible, (al-
  343.         though unlikely), that this will overlay a soft font already 
  344.         there with the same ID.  If this happens that soft font will be 
  345.         deleted, even though it was a "permanent" font!  Finally, 
  346.         DISPFONT sends a second reset to the printer to remove the soft 
  347.         font it just downloaded and the margins & line spacing it set.
  348.  
  349.         DISPFONT understands the standard 25 typefaces assigned by HP, 
  350.         (faces 0 through 24), and uses this information to print the 
  351.         typeface name on the header line of each sample sheet.  If an 
  352.         unknown typeface number is incorporated in a font DISPFONT will 
  353.         extract the display font name, (the name shown on a LaserJet II 
  354.         font print out), from that font and show that on the header line.  
  355.         The font weight is also examined and used to determine whether a 
  356.         font is light, normal, or bold.  Note that a number of older 
  357.         fonts (Bitstream's in particular) do not have a correct display 
  358.         font name.
  359.  
  360.         The display text is arranged such that most fonts up to 60 points 
  361.         in size can be displayed.  DISPFONT adjusts the symbol map auto-
  362.         matically based on the number of characters in a font.
  363.  
  364.  
  365.                                      LICENSE
  366.         
  367.         This program is ASP shareware. See the accompanying disk file 
  368.         REGISTER.DOC for more details. Do not separate the files in this 
  369.         package.
  370.         
  371.         
  372.         
  373.  
  374.          
  375.                                     WARRANTY
  376.         
  377.         None!
  378.         
  379.         
  380.         
  381.         
  382.         
  383.         
  384.         
  385.         
  386.  
  387.         
  388.         
  389.         
  390.         
  391.         
  392.         
  393.         
  394.  
  395.                                    5
  396.